<!--
 * @Author       : wfl
 * @LastEditors  : wfl
 * @description  :
 * @updateInfo   :
 * @Date         : 2023-03-29 15:53:18
 * @LastEditTime : 2023-03-29 18:57:53
-->
<script lang="ts" setup name="IkIconImage">
defineProps({
  icon: {
    type: String,
    default: ''
  },
  color: {
    type: String,
    default: '#fff'
  },
  radius: {
    type: Number,
    default: 4
  },
  backgroundColor: {
    type: String,
    default: ''
  }
})
</script>

<template>
  <i :class="`${icon} ikwf-icon`" :style="{ color, borderRadius: `${radius}px`, backgroundColor }"></i>
</template>

<style lang="scss" scoped>
.ikwf-icon {
  background-color: #1ABF8B;
  font-size: 23px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>
